package im.vinci.server.feed.persistence;

import im.vinci.server.feed.domain.wrapper.ReportFeedRequest;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Repository;

/**
 * Created by mingjie on 17/1/14.
 */
@Repository
public interface FeedReportMapper {
    @Insert(
            "INSERT IGNORE INTO feed_report (user_id, report_feed_id, report_user_id) VALUES "
                    + "(#{userId}, #{reportFeedId}, #{reportUserId})"
    )
    int insert(ReportFeedRequest request);
}
